package pwd.allen.behavior.mediator;

/**
 * @author 门那粒沙
 * @create 2021-05-22 21:17
 **/
public abstract class Colleague {
    protected Mediator mediator;
    public void setMedium(Mediator mediator) {
        this.mediator = mediator;
    }
    public abstract void receive();
    public abstract void send();
}
